home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
- case "$1" in
- configure)
- # the old conffile got renamed, but contains an executable path that
- # changed as well so it is modified for sure. Moving to
- # $NEWCONFFILE.dpkg-old if it has been modified by the user
- OLDCONFFILE="/etc/xdg/autostart/bt-applet.desktop"
- if [ -e "$OLDCONFFILE" ]; then
- mv -f "$OLDCONFFILE" "/etc/xdg/autostart/bluetooth-applet.desktop.dpkg-old"
- fi
- ;;
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
- esac
-
- # Automatically added by dh_installmime
- if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then
- update-mime-database /usr/share/mime
- fi
- # End automatically added section
- # Automatically added by dh_gconf
- if [ "$1" = "configure" ]; then
- gconf-schemas --register bluetooth-manager.schemas
- fi
- # End automatically added section
- # Automatically added by dh_desktop
- if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
- update-desktop-database -q
- fi
- # End automatically added section
- # Automatically added by dh_icons
- if which update-icon-caches >/dev/null 2>&1 ; then
- update-icon-caches /usr/share/icons/hicolor
- fi
- # End automatically added section
-
-